Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting
Event message formats
Event logging message formats correlate closely with event actions. There are six distinct formats.
Format 1: event occurs
Messages logged when an event occurs contain the following information:
- Start —
START.- Identifier — Event type
GUI(GUI Windows),UI(character mode),PRGS,COM,ASYNC, orSOCKET.- Event name — For example,
LEAVEorGUI WM_command. ForWM_CHAR, also contains the key pressed.- Widget information — Type (
BUTTON, for example), name, and handle ID of the object, when available.- Flag —
TorF(COM events only). For use by Progress Software Corporation Technical Support.- OpenEdge Handled — The string
Progress Handledappears only for COM objectWM_events.Here are some sample Format 1 log entries:
Format 2: indirect action
Messages logged when there is an indirect action contain the following information:
Here are some sample Format 2 log entries:
Format 3: pushed on to the stack/popped off the stack
Messages logged when an event is either pushed onto or popped off of the stack contain the following information:
- Identifier —
PushorPop.- Event name — For example,
LEAVE. For a keystroke, the entry includes the key name and associated event, if appropriate.- Widget information — Type (
BUTTON, for example), name, and handle ID of the object, when available.- Procedure name — Name of the procedure that created the object (not available in all cases).
Here are some sample Format 3 log entries:
Format 4: generated by the 4GL APPLY statement
Messages logged when an
APPLYstatement executes contain the following information:
- Identifier —
APPLY.- Event name — For example,
LEAVE. For a keystroke, the entry includes the key name and associated event, if appropriate.- Widget information — Type (
BUTTON, for example), name, and handle ID of the object, when available.- Routine name and line number — Name and line number of the routine (
.por.wfile or method) and internal procedure, if appropriate, where theAPPLYstatement is. The line number is based on the Debugger listing file.Here are some sample Format 4 log entries:
Format 5: trigger execution
Messages logged when a trigger executes contain the following information:
- Identifier —
Begin-TriggerorEnd-Trigger.- Additional information — Can include: the event name, for example,
LEAVE; object type and name, and handle ID (when available), or internal procedure name for persistent triggers; the wordANYWHERE, if it is anANYWHEREtrigger. For objects that are no longer valid, the entry also includes the wordsobject not valid, as in the case when the window following it has been destroyed.- Procedure name — Name of the routine (
.por.wfile or method) and internal procedure, if appropriate, where the trigger is.Here are some sample Format 5 log entries:
Format 6: event discarded
Messages logged when an event is discarded contain the following information:
- Identifier —
PRGS.- Event name — For example,
ENTRY.- Additional information — In most cases, the word
discarded, followed by the reason for not processing the event, if known; for example,widget disabled.- Widget information — Type (
BUTTON, for example), name, and handle ID of the object, when available.Here are some sample Format 6 log entries:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |